<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Time_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-time_id" data-rule="required" data-source="time/index" class="form-control selectpage" name="row[time_id]" type="text" value="{$row.time_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Week_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-week_name" class="form-control" name="row[week_name]" type="text" value="{$row.week_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Week_days')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-week_days" class="form-control" name="row[week_days]" type="number" value="{$row.week_days|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Endtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-endtime" class="form-control datetimepicker" data-date-format="HH:mm:ss" data-use-current="true" name="row[endtime]" type="text" value="{$row.endtime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Startime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-startime" class="form-control datetimepicker" data-date-format="HH:mm:ss" data-use-current="true" name="row[startime]" type="text" value="{$row.startime}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
